/* 修改密码模态框 */
.password-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20000;
}

.password-modal-content {
    background: transparent;
    width: 900px;
    height: 570px;
    display: flex;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: 0;
}

/* 侧边栏样式 */
.password-modal-content .account-sidebar {
    width: 200px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px 0 8px 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* 右侧列 */
.password-modal-content .account-right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 头部卡片 */
.password-modal-content .account-header-card {
    background: #fff;
    border: 1px solid #ddd;
    border-left: none;
    border-radius: 0 8px 8px 0;
    padding: 14px 40px 14px 60px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    box-shadow: 10px 5px 20px rgba(0, 0, 0, 0.1);
}

/* 主面板 */
.password-panel {
    flex: 1;
    padding: 30px 40px;
    margin-left: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.password-form-container {
    flex: 1;
}

.form-group-password {
    display: flex;
    align-items: center;
    height: 40px;
    margin-bottom: 30px;
    position: relative;
}

.form-group-password label {
    width: 80px;
    font-size: 16px;
    color: #333;
    flex-shrink: 0;
}

.info-input-password {
    width: 200px;
    border: none;
    border-bottom: 1px solid #999;
    outline: none;
    padding: 8px 0;
    font-size: 14px;
    color: #333;
    transition: border-color 0.3s;
    flex-shrink: 0;
}

.info-input-password:focus {
    border-bottom-color: #333;
}

.info-input-password.input-error {
    border-bottom-color: #ef4444;
}

.password-error {
    position: absolute;
    left: 80px;
    bottom: -18px;
    font-size: 12px;
    color: #ef4444;
    min-height: 16px;
}

/* 密码规则提示 - 横排显示在新密码输入框右边 */
.password-rules-inline {
    position: absolute;
    left: 300px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #999;
    line-height: 1.6;
    white-space: nowrap;
}

.password-rules-inline .rules-text {
    display: block;
}
